package com.spring.mvc1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description TODO
 * @author ll
 */
@Controller
public class HelloWorld {

	@RequestMapping(value ="/hello")
	public String hello(){
		System.out.println("调用了controller里的方法");
		return "hello";
	}
}
